import java.util.Scanner;
public class Classroom
{
    public static void main(String[] args) 
    {
        //录入学生系统
        Student p = new Student();
        Teacher q = new Teacher();
        Scanner str = new Scanner(System.in);
        Scanner num = new Scanner(System.in);
        System.out.println("please load in the student's name");
        String nameS = str.nextLine();
        System.out.println("please load in the grade");
        int grade = num.nextInt();
        System.out.println("please load in the id");
        int id = num.nextInt();
        System.out.println("ID: " + id); 
        p.nameS = nameS;
        p.id = id;//左=容器，这个碗是放什么的 右=具体要录入的东西
        p.grade = grade;
        p.Separator();
        p.infoload();
        p.remark();
        p.suggestion();
        //录入教师系统
        System.out.println("Please load in the teacher's name");
        String nameT = str.nextLine();
        System.out.println("Please load in the teacher's subject");
        String subject = str.nextLine();
        System.out.println("Please load in the teacher's title");
        String title = str.nextLine();
        System.out.println("Please load in the teacher's academic papers(/year)");
        int article = num.nextInt();
        System.out.println("Please load in the teacher's teaching span");
        int span = num.nextInt();
        System.out.println("Choose a numer between 0 - 100 to describe the difficulty of the course");
        int difficulty = num.nextInt();
        System.out.println("Choose a numer between 0 - 100 to describe the degree of satisfication to the teacher");
        int satisfication = num.nextInt();
        q.nameT = nameT;
        q.subject = subject;
        q.title = title;
        q.infoload();
        p.Separator();
        int aricle =q.evaArti(article);
        int level = q.evaLev(difficulty);
        int spans = q.evaSpan(span);
        p.Separator();
        //q.conprescore();
        q.remark(article,level,spans,satisfication);
        str.close();
        num.close();
        //成员变量的访问

    }
}
    //下面是我悲催的尝试过程。
    //应该是尝试用类来定义数组，但是失败了，应该有别的定义规则，但是我们还没学到【大概？
 /*
        Scanner input = new Scanner(System.in);
        System.out.println("please load in student's number");
        int num = input.nextInt();
        Student[] students = new Student[num];
        for (int i = 0; i < students.length; i++) 
        {
            System.out.println("NO. " + (i + 1));
            students[i].infoload();
        }
        input.close();
        */
        //System.out.println(p.name + "," + p.id + "," + p.grade);
        //Scanner nameload = new Scanner(System.in);
        //p.name = nameload.nextLine();
        //System.out.println(p.name);
        //nameload.close();